package edu.codink.xq.center.dto;

import java.util.ArrayList;
import java.util.List;

public class UserMenu
{
	private String menuCode;
	private String menuText;
	private String iconPath;
	private List<UserMenuItem> menuItems;

	public UserMenu()
	{
		menuItems = new ArrayList<UserMenuItem>();
	}

	public void addMenuItem(UserMenuItem item)
	{
		menuItems.add(item);
	}

	public List<UserMenuItem> getMenuItems()
	{
		return menuItems;
	}

	public String getMenuCode()
	{
		return menuCode;
	}

	public void setMenuCode(String menuCode)
	{
		this.menuCode = menuCode;
	}

	public String getMenuText()
	{
		return menuText;
	}

	public void setMenuText(String menuText)
	{
		this.menuText = menuText;
	}

	public String getIconPath()
	{
		return iconPath;
	}

	public void setIconPath(String iconPath)
	{
		this.iconPath = iconPath;
	}
}
